package com.ltkj.pay.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ltkj.common.core.annotation.Excel;
import com.ltkj.common.core.web.domain.BaseEntity;

/**
 * 支付记录对象 tic_pay_log
 * 
 * @author ruoyi
 * @date 2023-09-15
 */
@ApiModel(value = "支付记录")
public class TicPayLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("ID")
    private Long payId;

    /** 订单id */
    @Excel(name = "订单id")
    @ApiModelProperty("订单id")
    private Long orderId;

    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty("用户id")
    private Long userId;

    /** open_id */
    @Excel(name = "open_id")
    @ApiModelProperty("open_id")
    private String openId;

    /** 支付金额 */
    @Excel(name = "支付金额")
    @ApiModelProperty("支付金额")
    private BigDecimal total;

    /** 数据状态 */
    @Excel(name = "数据状态")
    @ApiModelProperty("数据状态")
    private String isDel;

    /** 支付参数 */
    @Excel(name = "支付参数")
    @ApiModelProperty("支付参数")
    private String payJson;

    /** 回调信息 */
    @Excel(name = "回调信息")
    @ApiModelProperty("回调信息")
    private String payNotifyJson;

    /** 订单编号 */
    @Excel(name = "订单编号")
    @ApiModelProperty("订单编号")
    private String orderNum;

    /** 微信业务编号 */
    @Excel(name = "微信业务编号")
    @ApiModelProperty("微信业务编号")
    private String wxOrderNum;

    public void setPayId(Long payId) 
    {
        this.payId = payId;
    }

    public Long getPayId() 
    {
        return payId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setTotal(BigDecimal total) 
    {
        this.total = total;
    }

    public BigDecimal getTotal() 
    {
        return total;
    }
    public void setIsDel(String isDel) 
    {
        this.isDel = isDel;
    }

    public String getIsDel() 
    {
        return isDel;
    }
    public void setPayJson(String payJson) 
    {
        this.payJson = payJson;
    }

    public String getPayJson() 
    {
        return payJson;
    }
    public void setPayNotifyJson(String payNotifyJson) 
    {
        this.payNotifyJson = payNotifyJson;
    }

    public String getPayNotifyJson() 
    {
        return payNotifyJson;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setWxOrderNum(String wxOrderNum) 
    {
        this.wxOrderNum = wxOrderNum;
    }

    public String getWxOrderNum() 
    {
        return wxOrderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("payId", getPayId())
            .append("orderId", getOrderId())
            .append("userId", getUserId())
            .append("openId", getOpenId())
            .append("total", getTotal())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .append("payJson", getPayJson())
            .append("payNotifyJson", getPayNotifyJson())
            .append("orderNum", getOrderNum())
            .append("wxOrderNum", getWxOrderNum())
            .toString();
    }
}
